<!--
 * @Description: {{ByRuin}}
 * @Version: 2.0
 * @Author: Ruin 🍭
 * @Date: 2021-12-20 11:28:38
 * @LastEditors: 刘引
 * @LastEditTime: 2021-12-31 09:14:10
-->
<template>
  <div class="home">
    <Header></Header>
    <Swiper></Swiper>
    <Service></Service>
    <Number></Number>
    <about></about>
    <User></User>
    <inventory></inventory>
    <Footer></Footer>
    <Bottom></Bottom>
  </div>
</template>
<script lang="ts">
import Service from "./components/service.vue";
import Number from "./components/number.vue";
import about from "./components/about.vue";
import inventory from "./components/inventory.vue"

import { getJoke } from "../../apis/joke"
export default {
  data() {
    return {
      constants: {}
    };
  },
  created() {
    // this.getData();
  },
  methods: {
    // async getData() {
    //   const { data: res } = await getJoke("/xiaohua");
    //   if (res.code == 200) {
    //     console.log(res.data.content);
    //   } else {
    //     console.error('网络错误');

    //   }


    // }
  },
  components: { Service, Number, about, inventory },


};
</script>
<style lang="scss" scoped>
</style>
